package com.springboot.eduservice.service;

import com.springboot.eduservice.entity.Chapter.ChapterVo;
import com.springboot.eduservice.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-05-12
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterbyid(String courseid);

    void deleteVideo(String chapterid);

    int deleteChapterById(String courseId);

}
